package com.neusoft.elmboot.config;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.util.ArrayList;
import java.util.List;

@Component
public class UrlFilterList {
    public static List<String> list = new ArrayList<String>() {
    };
    private static final String projectName = "/elm";

    @PostConstruct
    public void initList() {
        //无需登录即可访问
        list.add(projectName + "/BusinessController/listAllBusiness");
        list.add(projectName + "/BusinessController/listBusinessByOrderTypeId");
        list.add(projectName + "/BusinessController/getBusinessById");
        list.add(projectName + "/FoodController/listFoodByBusinessId");
        list.add(projectName + "/ImageController/listAllImage");
        list.add(projectName + "/ImageController/listImageById");
        list.add(projectName + "/IntegralTransController/saveIntegralTrans");
        list.add(projectName + "/UserController/getUserByIdByPass");
        list.add(projectName + "/UserController/saveUser");
        list.add(projectName + "/UserController/removeUser");
        list.add(projectName + "/WalletController/saveWallet");
        list.add(projectName + "/IntegrationlogController/saveIntegrationlogByPay");
    }

}
